import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: () => {
    return {
      menusList: [...constantRoutes]
    }
  },
  mutations: {
    setmenusList(state, newmenusList) {
      state.menusList = [...constantRoutes, ...newmenusList]
    }
  },
  actions: {}
}
